package cn.cvs.dao;

import cn.cvs.pojo.Role;
import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {

    List<SysUser> selectSysUserList(SysUser sysUser);
    int add(SysUser sysUser);
    int delete(SysUser sysUser);
    List<Role> selectRole(@Param("roleName") String roleName);
//    int updateRole(@Param("id") Integer id,@Param("roleName") String roleName);
//    int deleteRole(@Param("id") Integer id);
}
